package com.yc.cloud.openai.portal.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.common.basic.dto.BaseQueryParam;
import com.yc.cloud.openai.entity.ModelRecord;
import com.yc.cloud.openai.portal.dto.request.ModelRecordListParam;
import com.yc.cloud.openai.vo.ModelRecordVo;

/**
 * <p>
 * 3D模型记录 服务类
 * </p>
 *
 * @author Yancy
 * @since 2025-02-16
 */
public interface ModelRecordService extends IService<ModelRecord> {

  /***
   * description:查询列表
   * 
   * @param param 查询条件
   * @return 数据信息
   */
  IPage<ModelRecordVo> list(ModelRecordListParam param, BaseQueryParam queryParam);

  ModelRecordVo convertVo(ModelRecord modelrecord);

  List<ModelRecordVo> convertVo(List<ModelRecord> modelrecordList);

  ModelRecord create(ModelRecord param);

  ModelRecordVo get(Long id);

  ModelRecord update(Long id, ModelRecord modelrecord);

  boolean delete(Long id);

  List<ModelRecord> listByStatus(List<String> statusList);
}
